#ifndef __SO_H264_DEC__
#define __SO_H264_DEC__
#include <stdio.h>

int h264disp_init(JNIEnv *env, jobject surface);

int h264disp_show(void* h264_frame, int len, int64_t ts);
int h264disp_uninit();
bool h264disp_isconnected();

int get_nextFrame_position (FILE *fd, int end);
int is_a_frame(FILE *fp);

#endif
